package com.sangeng.service;

import com.sangeng.entity.ResponseResult;
import com.sangeng.entity.User;

/**
 * @author bing_  @create 2022/1/4-22:51
 */
public interface LoginServcie {
    /**
     * 登录
     *
     * @param user
     * @return
     */
    ResponseResult login(User user);

    /**
     * 退出登录
     *
     * @return
     */
    ResponseResult logout();
}
